#ifndef __STRUCTS_H__
#define __STRUCTS_H__

#include <GL/glut.h>


struct Ball
{
	float speed;
	GLfloat vector[3];
	float radius;
	GLfloat color[4];
	GLfloat position[3];
	int inPlay;
	GLuint textureName;
	GLfloat angleX;
	GLfloat angleY;
	GLfloat angleZ;
};
enum InputDevice
{
	WII, KEY, MOUSE, AI
};

enum Axis 
{
	X, Y, Z
};

struct Wall
{
	GLfloat point0[3];
	GLfloat point1[3];
	GLfloat point2[3];
	GLfloat point3[3];

	char texture[256];
	enum Axis axis;
	GLfloat color[4];
};

struct Paddle
{
	GLfloat color[4];
	GLfloat position[3];
	float size;
	//TODO: shape of paddle
};

struct Player
{
	int score;
	enum InputDevice inputDevice;
	struct Paddle paddle;
};

enum State
{
	START,
	ROUND_OVER,
	PAUSE,
	IN_ROUND,
	GAME_WIN
};

#endif